package com.housediyadmin.events.goodsEvents
{
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/12/17
	 */	
	public class GetGoodsBySalesIDEvent extends Event
	{
		public static const GET_GOODS_BY_SALESID:String = "getGoodsBySalesID";
		public static const UPDATE_GOODS_SALES:String = "updateGoodsSales";
		
		public var salesId:int;
		public var goodsSalesArray:ArrayCollection;
		
		
		public function GetGoodsBySalesIDEvent(type:String, salesId:int, goodsSalesArray:ArrayCollection = null)
		{
			super(type);
			this.salesId = salesId;
			this.goodsSalesArray = goodsSalesArray;
		}
		
		override public function clone():Event
		{
			return new GetGoodsBySalesIDEvent(type, salesId, goodsSalesArray);
		}
	}
}